package com.cqc.aiyagril2.module.home;

import com.cqc.aiyagril2.base.BasePresenter;
import com.cqc.aiyagril2.base.BaseView;
import com.cqc.aiyagril2.model.CategoryResult;

/**
 * Created by ${cqc} on 2018/1/12.
 * home
 */

interface HomeContract {
    interface IHomeView extends BaseView {
        void getHomeBannersSuccess(CategoryResult categoryResult);

        void getHomeBannersFail(String error);
    }

    interface IHomePresenter extends BasePresenter {
        /**
         * 获取轮播图数据
         */
        void getHomeBanners();
    }
}
